package com.example.pojo;

import lombok.Data;

import javax.persistence.Table;

/**
 * @Description:
 * @author: GaoPeng
 * @date: 2021/5/25 23:53
 */
@Data
@Table(name="Product")
public class Product {
    private Integer id;

    private String name;

    private Float price;

    private Integer seller;

    private Integer stock;

    private String brief;

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getSeller() {
        return seller;
    }

    public void setSeller(Integer seller) {
        this.seller = seller;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }


}
